<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
    <title>Welcome</title>
</head>
<body>
	<b>	Thank you for visiting the website, please log in or <a href="/account/register/"> register</a>  first.<br/> The database and website are free for academic use.
Any questions, suggestions please send email to: hw.ma@ed.ac.uk
{% if form.errors %}
<p><b>Your username and password didn't match. Please try again.</b></p>
{% endif %}

<form method="post" action="{% url django.contrib.auth.views.login %}">{% csrf_token %}
<table>
<tr>
    <td>{{ form.username.label_tag }}</td>
    <td>{{ form.username }}</td>
</tr>
<tr>
    <td>{{ form.password.label_tag }}</td>
    <td>{{ form.password }}</td>
</tr>
</table>

<input type="submit" value="login" />
<input type="hidden" name="next" value="{{ next }}" />
</form>
</body>
</html>
